package com.topisv.tms.service.lightShelf;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.topisv.tms.entity.lightShelf.LightShelfStockSku;
import com.topisv.tms.repository.lightShelf.LightShelfStockSkuDao;

/**
 * 灯光架上架明细_service
 * 
 * @author ch
 * 
 */
@Component
@Transactional(readOnly = true)
public class LightShelfStockSkuService {

	@Autowired
	private LightShelfStockSkuDao lightShelfStockSkuDao;

	/**
	 * 查找未待上灯光架的SKU信息
	 * @param taskCode
	 * @param upStatus
	 * @return
	 */
	public List<LightShelfStockSku> loadByTaskAndUpstatus(String taskCode,String upStatus) {
		return this.lightShelfStockSkuDao.loadByTaskAndUpstatus(taskCode,upStatus);
	}


}